Automattic\WooCommerce\Blocks\BlockTypes\Checkout B

Total Complexity 82
Dependencies 3
Dependents 1
Total lines 572
Lines of code 352
Logical lines of code 169
Comment lines 162
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
enqueue_data()
C
31 21 114
update_local_pickup_title()
A
51 15 24
render()
A
41 11 58
find_local_pickup_text_in_checkout_block()
A
56 8 18
hydrate_customer_payment_methods()
S
53 4 23
include_token_id_with_payment_methods()
S
62 4 10
is_block_editor()
S
68 4 7
get_checkout_block_types()
S
53 1 28
initialize()
S
62 2 11
is_checkout_endpoint()
S
79 2 3
get_block_type_script()
S
66 2 8
get_block_type_editor_script()
S
66 2 8
dequeue_woocommerce_core_scripts()
S
72 1 6
enqueue_assets()
S
73 1 5
get_block_type_style()
S
79 1 3
get_enabled_payment_gateways()
S
67 1 9
register_patterns()
S
64 1 10
register_block_type_assets()
S
68 1 7